package com.guigu.erp.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Lenovo
 */
@Data
@TableName("s_gather")
public class StorageGather {
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column S_GATHER.ID
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column S_GATHER.GATHER_ID
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    private String gatherId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column S_GATHER.STORER
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    private String storer;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column S_GATHER.REASON
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    private String reason;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column S_GATHER.REASONEXACT
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    private String reasonexact;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column S_GATHER.AMOUNT_SUM
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    private BigDecimal amountSum;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column S_GATHER.COST_PRICE_SUM
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    private BigDecimal costPriceSum;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column S_GATHER.GATHERED_AMOUNT_SUM
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    private BigDecimal gatheredAmountSum;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column S_GATHER.REMARK
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    private String remark;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column S_GATHER.REGISTER
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    private String register;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column S_GATHER.REGISTER_TIME
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date registerTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column S_GATHER.CHECKER
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    private String checker;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column S_GATHER.CHECK_TIME
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date checkTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column S_GATHER.CHECK_TAG
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    private String checkTag;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column S_GATHER.ATTEMPER
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    private String attemper;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column S_GATHER.ATTEMPER_TIME
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date attemperTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column S_GATHER.STORE_TAG
     *
     * @mbg.generated Tue Mar 05 12:46:07 CST 2024
     */
    private String storeTag;
}